package test;

import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;

public class HashMapExp {
	public static void main(String[] args) {
		Map<String, Integer> map = new HashMap<String, Integer>();
		map.put("a3", 1);
		map.put("a2", 3);
		map.put("b1", 8);
		 for (Iterator iterator = map.values().iterator(); iterator.hasNext();) {
//		  String name = (String) iterator.next();
		 System.out.println(iterator.next());
		 }
		Integer testint = map.remove("a3");
		Integer testInteger = map.remove("a1");
		
		System.out.println(map.size());
	}
}
